<template>
	<view class="content">
		<Nav />
		<Card>
			<template v-slot:title>我是标题</template>
		</Card>
	</view>
</template>

<script setup>
	import Card from '@/component/card/card';
	import Nav from '@/component/nav/nav.vue'
	import {
		onLaunch
	} from '@dcloudio/uni-app'

	function hideStatusBar() { //隐藏状态栏
		plus.navigator.setFullscreen(true);
	}

	function landscape() { //强制横屏安卓
		plus.screen.lockOrientation('landscape-secondary');
		plus.screen.lockOrientation('landscape-primary');
	}
	onLaunch(() => {
		console.log('App Launch')
		// #ifdef APP-PLUS
		this.hideStatusBar();
		this.landscape();
		// #endif
	})
</script>

<style>

</style>